package com.texaco.chapasFutbol.scene;

import org.andengine.entity.Entity;
import org.andengine.util.progress.IProgressListener;

import com.texaco.chapasFutbol.entidades.Game;

/**
 * Clase que implementa la escena del juego.
 * @author texaco
 *
 */
public class GameScene extends SceneBase{

	/**
	 * Definimos las capas que usará el juego.
	 */
	public static final int LAYER_COUNT = 13;

	public static final int LAYER_CAMPO = 0;
	public static final int LAYER_CIRCULO_TIRADOR = LAYER_CAMPO + 1;
	public static final int LAYER_VECTOR_FUERZA = LAYER_CIRCULO_TIRADOR + 1;
	public static final int LAYER_HALOS = LAYER_VECTOR_FUERZA + 1;
	public static final int LAYER_SHADOWS = LAYER_HALOS + 1;
	public static final int LAYER_CHAPAS = LAYER_SHADOWS + 1;
	public static final int LAYER_PELOTA = LAYER_CHAPAS + 1;
	public static final int LAYER_PORTERIAS = LAYER_PELOTA + 1;
	public static final int LAYER_SCORE = LAYER_PORTERIAS + 1;
	public static final int LAYER_TIRADOR_CHAPA = LAYER_SCORE + 1;
	public static final int LAYER_GOL_TEXT = LAYER_TIRADOR_CHAPA + 1;
	public static final int LAYER_TIRADOR_BOTONES = LAYER_GOL_TEXT + 1;
	public static final int LAYER_BARRA_TURNO = LAYER_TIRADOR_BOTONES + 1;
	
	public GameScene(Game game){
		super(game);
	}

	protected int layerCount(){
		return LAYER_COUNT;
	}
	
	@Override
	public void initAsync(IProgressListener pProgressListener) {
		// TODO Auto-generated method stub
	}

	@Override
	protected void update() {
		// TODO Auto-generated method stub
	}

	@Override
	protected boolean async() {
		return true;
	}
}
